<?php
    $this->breadcrumbs = array(
        t('Customer') => array('index'),
        $model->customer_code,
    );

    /* $this->menu = array(
      array('label' => t('List Customers'), 'url' => array('index')),
      array('label' => t('Create Customers'), 'url' => array('create')),
      array('label' => t('Update Customers'), 'url' => array('update', 'id' => $model->id)),
      array('label' => t('Delete Customers'), 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => t('Are you sure you want to delete this item?'))),
      array('label' => t('Manage Customers'), 'url' => array('admin')),
      ); */
?>

<h1><?php echo t('View Customer') . ' ' . $model->customer_code; ?></h1>
<div class='well '>
    <?php
        $this->widget('bootstrap.widgets.TbButton', array(
            'buttonType' => 'Button',
            'type' => 'primary',
            'label' => t('Back'),
            'htmlOptions' => array('onclick' => 'window.history.go(-1);'),
            'icon' => 'icon-white icon-arrow-left',
        ));
    ?>
</div>

<?php
    $this->widget('bootstrap.widgets.TbDetailView', array(
        'data' => $model,
        'attributes' => array(
            'id',
            'user_id',
            'customer_code',
            'firstname',
            'lastname',
            'birthday',
            'race',
            'religion',
            'newic',
            'address1',
            'address2',
            'postcode',
            'city',
            'state',
            'country',
            'sec_address1',
            'sec_address2',
            'sec_postcode',
            'sec_city',
            'sec_state',
            'sec_country',
            'guarantee_firstname',
            'guarantee_lastname',
            'guarantee_birthday',
            'guarantee_newic',
            'guarantee_address1',
            'guarantee_address2',
            'guarantee_postcode',
            'guarantee_city',
            'guarantee_state',
            'guarantee_country',
            'createdate',
            'modifydate',
            'updateby_user_id',
        ),
    ));
?>
<div class='well '>
    <?php
        $this->widget('bootstrap.widgets.TbButton', array(
            'buttonType' => 'Button',
            'type' => 'primary',
            'label' => t('Back'),
            'htmlOptions' => array('onclick' => 'window.history.go(-1);'),
            'icon' => 'icon-white icon-arrow-left',
        ));
    ?>
</div>
